package com.company.cloud.admin.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.company.cloud.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 3_后管权限表 
 * </p>
 *
 * @author anros
 * @since 2020-08-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pt_admin_permission_info")
public class PermissionInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 权限编号
     */
     @ApiModelProperty(value = "权限编号")
    @TableId(value = "code", type = IdType.INPUT)
      private String code;

    /**
     * 权限分类（普通，菜单,按钮）
     */
     @ApiModelProperty(value = "权限分类（普通，菜单,按钮）")
      private String type;

    /**
     * 权限名称
     */
     @ApiModelProperty(value = "权限名称")
      private String name;

    /**
     * 菜单显示名称
     */
     @ApiModelProperty(value = "菜单显示名称")
      private String showName;

    /**
     * 菜单显示图标
     */
     @ApiModelProperty(value = "菜单显示图标")
      private String icon;

    /**
     * 菜单URL
     */
     @ApiModelProperty(value = "菜单URL")
      private String url;

    /**
     * 菜单状态
     */
     @ApiModelProperty(value = "菜单状态")
      private String state;

    /**
     * 菜单顺序
     */
     @ApiModelProperty(value = "菜单顺序")
      private Integer orders;

    /**
     * 菜单显示平台
     */
     @ApiModelProperty(value = "菜单显示平台")
      private String showPlatform;

    /**
     * 备注
     */
     @ApiModelProperty(value = "备注")
      private String remark;

    /**
     * 资源
     */
     @ApiModelProperty(value = "资源")
      private String resource;

    /**
     * 上级权限编号
     */
     @ApiModelProperty(value = "上级权限编号")
      private String parentCode;

    /**
     * 创建人
     */
     @ApiModelProperty(value = "创建人")
      private Integer cman;

    /**
     * 修改人
     */
     @ApiModelProperty(value = "修改人")
      private Integer eman;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
      private LocalDateTime cdt;

    /**
     * 修改时间
     */
     @ApiModelProperty(value = "修改时间")
      private LocalDateTime edt;

    /**
     * 创建人IP
     */
     @ApiModelProperty(value = "创建人IP")
      private String cip;

    /**
     * 修改人IP
     */
     @ApiModelProperty(value = "修改人IP")
      private String eip;


}
